package hp.com.entity;

import java.util.Date;
import java.util.List;

public class Orders {
   private String serial; //订单序列号
   private String userAddress; //用户地址
   private int userId;//用户ID
   private String createTime;//订单创建时间
   private double cost;//总金额
   private List<OrderDetail> detail;//商品详情
    private int count;//订单数量
    private int stat;//订单状态
    private String statText;//订单状态文字

    public int getStat() {
        return stat;
    }

    public void setStat(int stat) {
        this.stat = stat;
    }

    public String getStatText() {
        return statText;
    }

    public void setStatText(String statText) {
        this.statText = statText;
    }


    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getSerial() {
        return serial;
    }

    public void setSerial(String serial) {
        this.serial = serial;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public double getCost() {
        return cost;
    }

    public void setCost(double cost) {
        this.cost = cost;
    }

    public List<OrderDetail> getDetail() {
        return detail;
    }

    public void setDetail(List<OrderDetail> detail) {
        this.detail = detail;
    }
}
